<?php
class CartPanel_Form_ShippingMethod extends Ext_Form
{
    public function init()
    {
        $this->setMethod('post');

		$this->addElement('text', 'method', array(
            'label'      => 'Metodo:',
            'required'   => true,
            'filters'    => array('StringTrim'),
            'validators' => array()
        ));		
        
		$this->addElement('text', 'priority', array(
            'label'      => 'Prioridad:',
            'required'   => true,
            'filters'    => array('StringTrim'),
            'validators' => array( 'int' )
        ));
        // Add the submit button
        $this->addElement( new Ext_Form_Element_Toolbar('Enviar' ) );
    }
}

